package io.renren.modules.live.dao;

import io.renren.modules.live.entity.FanweStationMessageEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.live.vo.FanweStationMessageVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统消息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-11-17 09:18:22
 */
@Mapper
public interface FanweStationMessageDao extends BaseMapper<FanweStationMessageEntity> {
    /**
     * 管理员查看系统消息列表
     * @param fanweStationMessageVo
     * @return
     */
    List<FanweStationMessageEntity> selectStationMessageList(FanweStationMessageVo fanweStationMessageVo);

    /**
     * 管理员查看系统消息列表数量
     * @param fanweStationMessageVo
     * @return
     */
    Integer selectStationMessageListcount(FanweStationMessageVo fanweStationMessageVo);

    /**
     * 管理员查看系统消息
     * @param id
     * @return
     */
    FanweStationMessageEntity selectStationMessage(String id);

    /**
     * 管理员添加系统消息
     * @param fanweStationMessageEntity
     * @return
     */
    Integer insertStationMessage(FanweStationMessageEntity fanweStationMessageEntity);

    /**
     * 管理员修改系统消息
     * @param fanweStationMessageEntity
     * @return
     */
    Integer updateStationMessage(FanweStationMessageEntity fanweStationMessageEntity);

    /**
     * 管理员删除系统消息
     * @param id
     * @return
     */
    Integer  deleteStationMessage(String id);
	
}
